package com.szholly.pro.watergas_server.ps.android.bean;

/**
 * 页码
 * 
 * 2017/4/20 <br/>
 *
 * @author Joey Huang QQ:273179370）
 */
public class PageInfo {
	private int pageIndex;
	private int pageSize;
	private int pageCount;
	private int count;
	
	public PageInfo() {
		this(1,15,0,0);
	}
	
	public PageInfo(int pageIndex) {
		this(pageIndex,15,0,0);
	}
	
	public PageInfo(int pageIndex, int pageSize) {
		this(pageIndex,pageSize,0,0);
	}
	
	public PageInfo(int pageIndex, int pageSize, int pageCount) {
		this(pageIndex,pageSize,pageCount,0);
	}

	public PageInfo(int pageIndex, int pageSize, int pageCount,
			int count) {
		this.count = count;
		this.pageSize = pageSize;
		this.pageCount = pageCount;
		this.pageIndex = pageIndex;
	}

	public int getCount() {
		return count;
	}

	public void setCount(int count) {
		this.count = count;
	}

	public int getPageSize() {
		return pageSize;
	}

	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}

	public int getPageCount() {
		return pageCount;
	}

	public void setPageCount(int pageCount) {
		this.pageCount = pageCount;
	}

	public int getPageIndex() {
		return pageIndex;
	}

	public void setPageIndex(int pageIndex) {
		this.pageIndex = pageIndex;
	}
}
